package com.itheima.book.service;

import com.itheima.book.pojo.dto.RegisterDTO;
import com.itheima.book.pojo.dto.UserLoginDto;
import com.itheima.book.pojo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 86178
* @description 针对表【user】的数据库操作Service
* @createDate 2025-04-25 14:59:19
*/
public interface UserService extends IService<User> {

    User login(UserLoginDto userLoginDto);


    void getByphone(String mobile);

    void getByemail(String email);

    User loginsms(UserLoginDto userLoginDto);

    User loginemail(UserLoginDto userLoginDto);

    void getByphonesingup(String mobile);

    void register(RegisterDTO registerDTO);
}
